package echo;

import java.util.Scanner;

public class mian {
    public static void main(String[] args) {
        meun();

    }
    public static void meun(){
        int choose=-1;
        Scanner scanner= new Scanner(System.in);
        System.out.println("--------商品--------");
        System.out.println("    1、主食");
        System.out.println("    2、饮料");
        System.out.println("    3、甜品");
        System.out.println("    0、退出");
        System.out.println("请输入选项[0-3]：");

      choose= scanner.nextInt();

      switch (choose){
          case 1:
              System.out.println("主食列表");
              break;
          case 2:
              System.out.println("饮料列表");
              break;
          case 3:
              System.out.println("甜品列表");
              break;
          case 0:
              System.out.println("谢谢使用！");
              break;
      }
    }
}
